package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.twocrm.utils.PoiHandler;

//学生班级表
@TableName("studentclass")
public class StudentClass {
    @PoiHandler(excelHeader = "班级编号")
    @TableId(value = "stuClassId",type = IdType.AUTO)
    private Integer stuClassId;//编号
    @PoiHandler(excelHeader = "所属系")
    private String stuClassDepartment;//系
    @PoiHandler(excelHeader = "所属专业")
    private String stuClassSpecialty;//专业
    @PoiHandler(excelHeader = "所属班级")
    private String stuClass;//班级

    private Integer stuClassIstId;//对应的辅导员

    private Integer stuClassTeaId;//对应的教员
@PoiHandler(excelHeader = "班级人数")
    private Integer stuClassSum;//班级人数

    private Integer exit1;//备用字段1

    private String exit2;//备用字段2
    //@TableField(exist = false)//标志这个字段非数据库字段
   // private Users users;//多对一用户表，用来对应辅导员和教员



    public Integer getExit1() {
        return exit1;
    }

    public void setExit1(Integer exit1) {
        this.exit1 = exit1;
    }

    public String getExit2() {
        return exit2;
    }

    public void setExit2(String exit2) {
        this.exit2 = exit2;
    }

    @Override
    public String toString() {
        return "StudentClass{" +
                "stuClassId=" + stuClassId +
                ", stuClassDepartment='" + stuClassDepartment + '\'' +
                ", stuClassSpecialty='" + stuClassSpecialty + '\'' +
                ", stuClass='" + stuClass + '\'' +
                ", stuClassIstId=" + stuClassIstId +
                ", stuClassTeaId=" + stuClassTeaId +
                ", stuClassSum=" + stuClassSum +
                ", exit1=" + exit1 +
                ", exit2='" + exit2 + '\'' +
                '}';
    }

    public Integer getStuClassIstId() {
        return stuClassIstId;
    }

    public void setStuClassIstId(Integer stuClassIstId) {
        this.stuClassIstId = stuClassIstId;
    }

    public Integer getStuClassTeaId() {
        return stuClassTeaId;
    }

    public void setStuClassTeaId(Integer stuClassTeaId) {
        this.stuClassTeaId = stuClassTeaId;
    }

    public Integer getStuClassSum() {
        return stuClassSum;
    }

    public void setStuClassSum(Integer stuClassSum) {
        this.stuClassSum = stuClassSum;
    }

    public StudentClass(Integer stuClassId, String stuClassDepartment, String stuClassSpecialty, String stuClass) {
        this.stuClassId = stuClassId;
        this.stuClassDepartment = stuClassDepartment;
        this.stuClassSpecialty = stuClassSpecialty;
        this.stuClass = stuClass;
    }


    public StudentClass() {
        super();
    }

    public Integer getStuClassId() {
        return stuClassId;
    }

    public void setStuClassId(Integer stuClassId) {
        this.stuClassId = stuClassId;
    }

    public String getStuClassDepartment() {
        return stuClassDepartment;
    }

    public void setStuClassDepartment(String stuClassDepartment) {
        this.stuClassDepartment = stuClassDepartment;
    }

    public String getStuClassSpecialty() {
        return stuClassSpecialty;
    }

    public void setStuClassSpecialty(String stuClassSpecialty) {
        this.stuClassSpecialty = stuClassSpecialty;
    }

    public String getStuClass() {
        return stuClass;
    }

    public void setStuClass(String stuClass) {
        this.stuClass = stuClass;
    }
}
